package br.urca.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="depar")
public class Departamento {
	
	@Id
	@Column(name="cddep")
	private String id;
	
	@Column(name="nodep")	
	private String nome;
	
	@Column(name="sidep")
	private String sigla;
	
	@Column(name="lodep")
	private String lodep;
	
	@Column(name="regul")
	private String regul;
	
	@Column(name="cdcen")
	private String cdcen;
	
	public Departamento() { }
	
	public Departamento(String id, String nome, String sigla, String lodep,
			String regul, String cdcen) {
		super();
		this.id = id;
		this.nome = nome;
		this.sigla = sigla;
		this.lodep = lodep;
		this.regul = regul;
		this.cdcen = cdcen;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getNome() {
		return nome;
	}
	public void setNome(String nome) {
		this.nome = nome;
	}
	public String getSigla() {
		return sigla;
	}
	public void setSigla(String sigla) {
		this.sigla = sigla;
	}
	public String getLodep() {
		return lodep;
	}
	public void setLodep(String lodep) {
		this.lodep = lodep;
	}
	public String getRegul() {
		return regul;
	}
	public void setRegul(String regul) {
		this.regul = regul;
	}
	public String getCdcen() {
		return cdcen;
	}
	public void setCdcen(String cdcen) {
		this.cdcen = cdcen;
	}
	
}
